package com.ruoyi.pushRecord.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.pushRecord.mapper.CircleHsPushRecordMapper;
import com.ruoyi.pushRecord.domain.CircleHsPushRecord;
import com.ruoyi.pushRecord.service.ICircleHsPushRecordService;

/**
 * 圈子热搜推送记录Service业务层处理
 * 
 * @author 区嘉盛
 * @date 2025-06-23
 */
@Service
public class CircleHsPushRecordServiceImpl implements ICircleHsPushRecordService 
{
    @Autowired
    private CircleHsPushRecordMapper circleHsPushRecordMapper;

    /**
     * 查询圈子热搜推送记录
     * 
     * @param id 圈子热搜推送记录主键
     * @return 圈子热搜推送记录
     */
    @Override
    public CircleHsPushRecord selectCircleHsPushRecordById(Long id)
    {
        return circleHsPushRecordMapper.selectCircleHsPushRecordById(id);
    }

    /**
     * 查询圈子热搜推送记录列表
     * 
     * @param circleHsPushRecord 圈子热搜推送记录
     * @return 圈子热搜推送记录
     */
    @Override
    public List<CircleHsPushRecord> selectCircleHsPushRecordList(CircleHsPushRecord circleHsPushRecord)
    {
        return circleHsPushRecordMapper.selectCircleHsPushRecordList(circleHsPushRecord);
    }

    /**
     * 新增圈子热搜推送记录
     * 
     * @param circleHsPushRecord 圈子热搜推送记录
     * @return 结果
     */
    @Override
    public int insertCircleHsPushRecord(CircleHsPushRecord circleHsPushRecord)
    {
        return circleHsPushRecordMapper.insertCircleHsPushRecord(circleHsPushRecord);
    }

    /**
     * 修改圈子热搜推送记录
     * 
     * @param circleHsPushRecord 圈子热搜推送记录
     * @return 结果
     */
    @Override
    public int updateCircleHsPushRecord(CircleHsPushRecord circleHsPushRecord)
    {
        return circleHsPushRecordMapper.updateCircleHsPushRecord(circleHsPushRecord);
    }

    /**
     * 批量删除圈子热搜推送记录
     * 
     * @param ids 需要删除的圈子热搜推送记录主键
     * @return 结果
     */
    @Override
    public int deleteCircleHsPushRecordByIds(Long[] ids)
    {
        return circleHsPushRecordMapper.deleteCircleHsPushRecordByIds(ids);
    }

    /**
     * 删除圈子热搜推送记录信息
     * 
     * @param id 圈子热搜推送记录主键
     * @return 结果
     */
    @Override
    public int deleteCircleHsPushRecordById(Long id)
    {
        return circleHsPushRecordMapper.deleteCircleHsPushRecordById(id);
    }
}
